CXXFLAGS=-g -Wall


SOURCES=Type.cpp Expression.cpp Instruction.cpp Program.cpp main.cpp
OBJS=$(SOURCES:.cpp=.o)

but: coolangage

coolangage:$(OBJS)
	$(CXX) $(CXXFLAGS) -o $@ $^

run:  coolangage
	./coolangage

clean:
	rm -fr *.o *~ coolangage


.PHONY: clean run but